/********************************************************************************
 *      Copyright:  (C) 2022 YanlinZhou<1222>
 *                  All rights reserved.
 *
 *       Filename:  getopt.h
 *    Description:  This head file 
 *
 *        Version:  1.0.0(04/09/2022)
 *         Author:  YanlinZhou <1222>
 *      ChangeLog:  1, Release initial version on "04/09/2022 08:38:44 AM"
 *                 
 ********************************************************************************/

#ifndef  _SOCKET_H_
#define  _SOCKET_H_

#include <stdio.h>
#include <stdlib.h>
#include <libgen.h>
#include <sys/socket.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>          
#include <arpa/inet.h>
#include <unistd.h>
#include <getopt.h>

int print_server_usage(char *progname);
int socket_server_init(char *listen_ip, int listen_port);

#endif   /* ----- #ifndef _SOCKET_H_  ----- */


